mutate
{dplyr}
Modify/create a column in a data frame
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
read_dta
{haven}
Read a .dta file (Stata data)
library
{base}
Load an R package
cut
{base}
Convert Numeric to Factor
prop.test
{stats}
Test of Equal or Given Proportions
ifelse
{base}
Return a or b depending on the value of test
c
{base}
Combine values/vectors into a vector
ordered
{dplyr}
Create an ordered factor
setwd
{base}
Set Working Directory
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
leveneTest
{car}
Computes Levene’s test for homogeneity of variance across groups.
The end!